package oa.hleast.xswl.pojo.domain.blog;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.common.base.BaseEntity;

/**
 * ums_blog_table 博客标签库表
 *
 * @author 302
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("ums_blog_table")
public class UmsBlogTable extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 标签内容
     */
    private String name;

    private Long userId;

    /**
     * 删除标识  (0未删除 1已删除)
     */
    @TableLogic(value = "0", delval = "1")
    private Boolean deleted;

}